home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-05 / conex61.zip / CONEX.DOC < prev    next >
Text File  |  1991-11-07  |  21KB  |  697 lines

  1.  
  2.  
  3.                A Quick Reference
  4.  
  5.  
  6.                CONEX VERSION 6.1
  7.  
  8.                    07-11-1991
  9.  
  10.  
  11.             Copyright (C) 1991 Erhard Hilbig
  12.  
  13.  
  14.  
  15. CONEX (latin connection) is used to communicate between IBM personal
  16. computer and a mainframe or between 2 IBM PC's.
  17.  
  18. These are the highlights of the program:
  19.  
  20.  -  The IBM PC can be used as terminal via COM1 - COM4, via Interrupt 14,
  21.     DECNET LAT, FTP TCP/IP and B&W TCP/IP at a mainframe.
  22.  
  23.  -  Parameters like baudrate (50-115200), parity, full/half duplex,
  24.     xon/xoff or hardware handshake can be set in CONEX.
  25.  
  26.  -  Files can be transfered without protocol, e.g. to save a session to
  27.     disk.
  28.  
  29.  -  Several DOS commands can be used inside CONEX, such as "dir", "cd",
  30.     "del" or a DOS shell can be entered.
  31.  
  32.  -  All incoming characters can be sent to a printer.
  33.  
  34.  -  Files can be transfered to and from the mainframe via KERMIT
  35.     protocol.
  36.  
  37.  -  Tektronix 4010/4014 and DEC VT102 can be emulated. The crosshair in
  38.     GIN mode can be moved by a mouse.
  39.  
  40.  -  Graphical output can be displayed on a HPGL plotter or transfered to
  41.     other programs.
  42.  
  43.  -  Up to 10 pages of screen output can be scrolled back to screen and
  44.     edited.
  45.  
  46.  -  All keys including the numerical keypad can be programmed.
  47.  
  48.  -  Incoming characters from the port can be remapped by the user.
  49.  
  50.  -  The configuration of CONEX can be saved to an ASCII file, which can
  51.     be protected by a password or CONEX can be patched by itself.
  52.  
  53.  -  Several sessions, especially net session, can be opened concurrently.
  54.  
  55.  -  CONEX is completely written in assembler and therefore very quick
  56.     and small. The only file necessary to run CONEX is "conex.exe".
  57.  
  58.  
  59.  
  60.             *======================*
  61.             |  How to start CONEX  |
  62.             *======================*
  63.  
  64. Simply start CONEX version 6.1 with
  65.  
  66.         conex [host name|number] [options]
  67.  
  68. parameters
  69. ----------
  70.  
  71. host name   - connect to name of host in a network
  72.           (must have been set with Alt-I before!)
  73. host number - enter session 0 - 9 (default: 0)
  74.  
  75.  
  76.  
  77. options
  78. -------
  79.  
  80. /i<filename> - load different ini file (default: conex.ini)
  81.  
  82.  
  83.  
  84.                *================*
  85.                |  DOS Commands  |
  86.                *================*
  87.  
  88. DOS commands can be executed nearly at any time using the alternate keys.
  89.  
  90.  
  91.  
  92. => Alt-D(irectory) - list directory
  93.  
  94.    When asked for "Dir mask:" you can enter filenames using wild cards ?
  95.    and *, e.g. you get all files ending with .asm if you enter "*.asm".
  96.    You can scroll the filenames using the cursor keys.
  97.  
  98.    If you are to enter a filename e.g. with "Alt-E" or "S" in kermit
  99.    mode, you can switch to this screen with "page up/down". Multiple
  100.    files may then be selected with the keys "INS" or "DEL" or a single
  101.    file simply with "Return".
  102.  
  103.  
  104.  
  105. => Alt-C(hange directory) - Change to another drive/directory
  106.  
  107.    You can change to a new drive by adding "<drive>:" to your pathname.
  108.  
  109.  
  110.  
  111. => Alt-E(rase)  - Erase file
  112.  
  113.    Wild cards cannot be used when entering the filename, but you can
  114.    switch to a selection menu with "Page up/down".
  115.  
  116.  
  117.  
  118. => Alt-X (eXecute) - execute DOS commands
  119.  
  120.    Any valid DOS commands can be executed. But if you want to enter the
  121.    DOS shell completely give "Return". You return to CONEX with "exit".
  122.  
  123.  
  124.  
  125.              *===================*
  126.              |  Port Parameters  |
  127.              *===================*
  128.  
  129. => Alt-I - Initialize connection
  130.  
  131.    The following parameters can be modified
  132.  
  133.    host:       name of the host to which you are connected. It is only
  134.            important if you are working on a network with LAT,
  135.            PC/TCP or BW/TCP.
  136.  
  137.    port:       Com, interrupt 14, LAT, PC/TCP or BW/TCP
  138.  
  139.    portnumber: 1, 2, 3, 4 (only COM/Int 14)
  140.  
  141.    baudrate:   50, 75, 150, 200, 300, 600, 1200, 1800, 2400, 3600, 4800,
  142.            9600, 19200, 38400, 57600, 115200 (only COM/Int 14)
  143.  
  144.    bits/parity:7 space, 7 even, 7 odd, 7 mark, 8 odd, 8 even, 8 none
  145.  
  146.    stopbits:   1, 2 (only COM/Int 14)
  147.  
  148.    duplex:     half, full
  149.  
  150.    handshake:  none, hardware, xon/xoff (only COM/Int 14)
  151.  
  152.    Prompt:     You can enter the prompt of the connected machine here.
  153.            When you enter "return" in "edit mode" all characters
  154.            following this prompt are transmitted.
  155.  
  156.  
  157.  
  158.    NOVELL offers interrupt 14 as a link to its programs, so you can use
  159.    it to connect in a NOVELL net.
  160.  
  161.    LAT (Local Area Transport) is used to connect PC and mainframe via
  162.    DECNET. A resident program called "lat" must be loaded before using
  163.    this option. LAT is contained in DECnet-DOS which is available from
  164.    DEC (Digital Equipment Corporation). This software has been tested
  165.    with DECnet-DOS version 2.1.
  166.  
  167.    With PC/TCP you can make a telnet connection on ethernet. The PC/TCP
  168.    kernel ("ethdrv") from FTP Software Inc. must be loaded before, it is
  169.    not public domain. The program has been tested with version 2.04/2.05.
  170.    PC/TCP is a registered trademark of
  171.  
  172.       FTP software, Inc.           anonymous file server
  173.       26 Princess Street           vax.ftp.com (128.127.2.100)
  174.       Wakefield, MA 01880
  175.       (617) 246-0900
  176.  
  177.    Same features as PC/TCP. The internet number can be entered directly
  178.    as hostname or the hostname can be resolved with a hosts file. Enter
  179.    its location in Alt-Y. Hostname resolution with a name server is not
  180.    supported.
  181.    BW/TCP is a product from Beame & Whiteside Software Ltd.
  182.  
  183.       Beame & Whiteside Software Ltd       Tel + Fax:
  184.       P.O. BOX 8130               (416) 648 6556
  185.       Dundos, Ontario
  186.       CANADA
  187.       L9H 5E7
  188.  
  189.  
  190. => Alt-S - Save all current parameters or Patch conex
  191.  
  192.    The parameters are normally written to the file "conex.ini" and are
  193.    automatically read again when you start CONEX. If you select a
  194.    different name as save file you have to activate it with the command
  195.    line option "/i<filename>".
  196.  
  197.    The following parameters are saved: port parameters (Alt-I), packet
  198.    parameters (kermit mode C-command), vt100-emulation (Alt-M), graphics
  199.    enabled (Alt-G), plot parameters (Alt-P) and status line (Alt-L) in
  200.    the different sessions 0 ... 9 and the keyboard macros. The save file
  201.    is an ASCII file which can be altered by a normal editor, see
  202.    "tech.ref" for more details. It can also be encrypted with a
  203.    password especially to protect the keyboard macros.
  204.  
  205.    Replacing the ini-file by the exe-filename (normally "conex.exe") will
  206.    save parameters to conex.exe itself. Afterwards the INI-file is not
  207.    automatically read, lest you force CONEX to read it with the /i-option.
  208.    Password protection is not supported then.
  209.  
  210.  
  211. => Alt-0..9 - change to another session
  212.  
  213.    Up to 10 different selections of port and kermit parameters can be
  214.    saved and activated with Alt-0 to Alt-9. The screen is saved, too.
  215.  
  216.  
  217.  
  218. => Alt-N(ame) - change to another session with host name
  219.  
  220.    All sessions are listed and can be selected with the cursor keys.
  221.    Open sessions in a network are marked with an arrow.
  222.  
  223.  
  224.  
  225. => Alt-B(reak) - send break
  226.  
  227.    Sends a break over the serial line (short break), if Alt-B ist
  228.    pressed twice, the signals RTS and DTR are dropped for a short time
  229.    (long break). These commands are normally used to interrupt the
  230.    connection between mainframe and PC. In the networks NOVELL, DECNET
  231.    or TELNET a break is sent according to network standards.
  232.  
  233.  
  234.  
  235.             *======================*
  236.             |  Terminal Emulation  |
  237.             *======================*
  238.  
  239.  
  240. The PC can be used as a normal terminal. The folling modes can be
  241. selected with function keys:
  242.  
  243.  
  244.  
  245. => F7 - normal mode
  246.  
  247.    All input characters are immediately sent to the mainframe.
  248.  
  249.  
  250.  
  251. => F8 - edit mode, scroll back
  252.  
  253.    In this mode the screen can be scrolled back and modified with the
  254.    cursor keys (home, end, left, right, up, down, page up/down, del,
  255.    ins, ctrl-End = delete to end of line). You can scroll back up to 10
  256.    screen pages. You can enter this mode with shift+cursor keys, too.
  257.  
  258.    With "return" the cursor line is sent to the mainframe and CONEX is
  259.    switched back to normal mode. If a prompt has been defined with Alt-I
  260.    for this session it is stripped off. With ESC or F7 you return to
  261.    normal mode without transmitting anything.
  262.  
  263.  
  264.  
  265. => F9 - kermit mode
  266.  
  267.    Kermit must be started on mainframe to transfer files. (see below)
  268.  
  269.  
  270.  
  271. => Alt-M - change emulation, character set
  272.  
  273.    The PC behaves like a DEC VT100 terminal when it receives ESC
  274.    commands. Some keys send different code: function keys F1 - F4, cursor
  275.    keys, + key = return key on DEC terminal, the numerical keypad. The
  276.    keys "page up/down", "ins", "del", "home" and "end" send codes of an
  277.    VT202 terminal.
  278.  
  279.    Character set 1 (characters 33-127) can be selected from ASCII, UK,
  280.    graphic, german and user. Character set 2 (characters 128-255) can be
  281.    selected from multinational and user. User character set is defined
  282.    in CONEX.INI.
  283.  
  284.  
  285.  
  286. => Alt-L - change status line
  287.  
  288.    You can select from the following items: 1. normal status line, 2.
  289.    empty status line, 3. status line with column numbers, 4. no status
  290.    line. The selection can be saved with Alt-S.
  291.  
  292.  
  293.  
  294. => Alt-H - Help
  295.  
  296.    This gives a list of all possible commands in CONEX, of modified
  297.    keys and last not least my address.
  298.  
  299.  
  300.  
  301. => F10 - quit CONEX
  302.  
  303.    DTR and RTS can be dropped when you leave the program. If you changed
  304.    any parameters you are asked to save them. Network connections are
  305.    always closed.
  306.  
  307.  
  308.  
  309. => Ctrl-backspace = DEL, Ctrl-return = LF
  310.  
  311.    One of the unknown facts is that DEL (127) and LF (10) can be
  312.    produced this way.
  313.  
  314.  
  315.  
  316. => Ctrl-NUM LOCK or PAUSE
  317.  
  318.    Stop output to screen, any other key resumes output to screen again.
  319.    This command is executed by the normal keyboard device driver.
  320.  
  321.  
  322.  
  323.               *==================*
  324.               |  Graphic Screen  |
  325.               *==================*
  326.  
  327. The program can switch automatically into graphic mode when it
  328. receives a graphic commands and behave as a tectronix 4010 or 4014. The
  329. following graphic cards are supported: hercules, CGA, EGA and VGA.
  330. The graphic card is automatically detected on entry to CONEX.
  331.  
  332.  
  333.  
  334. => F5 - enter graphic mode
  335.  
  336.    The screen is switched into graphic mode. Some keys like Alt
  337.    combinations will not work any more in this mode.
  338.  
  339.  
  340.  
  341. => Alt-G - enable graphic mode
  342.  
  343.    When a graphics command GS, FS, US or ESC ENQ, ESC FF, ESC SUB is
  344.    received CONEX will automatically switch into graphic mode. You can
  345.    switch back to normal by pressing F7.
  346.  
  347.    In GIN mode the crosshair can be moved using the cursor keys; the
  348.    shift key speeds up this movement. If a Microsoft compatible mouse is
  349.    connected and the mouse driver loaded you can move the crosshair with
  350.    the mouse as well.
  351.  
  352.  
  353.  
  354. => Alt-P - Write plot file
  355.  
  356.    The graphics can be written to a file in HPGL format and plotted on a
  357.    HPGL compatible plotter later on. Pagewidth, margins and velocity of
  358.    the pen can be selected as well.
  359.  
  360.  
  361.             *======================*
  362.             |  Writing Key Macros  |
  363.             *======================*
  364.  
  365.  
  366.  
  367. => Alt-K - Write key macro
  368.  
  369.    All keys can be programmed, if they are detected by BIOS (Int 11h)
  370.    calls. Characters in a macro are sent out at a rate of 10
  371.    character/sec.
  372.  
  373.    The following keys have special meanings in programming:
  374.  
  375.    F1      begin command character, here displayed as "<"
  376.    F2      end command character, here displayed as ">"
  377.    F3      seperation character in commands, here displayed as "|".
  378.    F4      enter function, alt, control keys literally
  379.       press F4 followed by special key
  380.  
  381.    ■IN0   virtual keys which must be entered using F4,I,N,#.
  382.    ...      When a new cennection is opened the corresponding macro
  383.    ■IN9   IN# is automatically started. On com ports a new connection
  384.       is determined from the presence of DTR and CTS.
  385.  
  386.  
  387.    The following combinations have special meanings in macros:
  388.  
  389.    <Wn>
  390.     Wait for n seconds. n = 1...9
  391.  
  392.    <R<string1> | <string2> | ...>
  393.     Wait until the mainframe sends <string1> or <string2> or ... The
  394.     strings must be seperated with key F3 "|". While the macro is
  395.     waiting all entered characters from the keyboard are transfered
  396.     to the mainframe.
  397.  
  398.    <Dn1 | n2 | ...>
  399.     Dial telephone number n1, if it is occupied try next number n2
  400.     ... The special string sent before or after the phone number
  401.     must be set with Alt-Y, especially prefix (string before
  402.     number), suffix (string after number) and connect|fail (answer
  403.     of mainframe if connected or connection failed).
  404.  
  405.  
  406.    - A memory region of 10000 bytes is reserved for keyboard macros.
  407.    - During the execution of a macro inputs from the keyboard can be
  408.      done, only ESC stops the macro.
  409.  
  410.  
  411.  
  412. => Alt-Y - configuration of CONEX
  413.  
  414.    You can enter strings to dial a telephone number and page length
  415.    of printer which is activated by Ctrl + Print Screen. The dial
  416.    sequence is preset to Hayes modem.
  417.  
  418.  
  419.  
  420.           *==========================================*
  421.           |  Transfer of Files without any Protocol  |
  422.           *==========================================*
  423.  
  424.  
  425.  
  426. => Alt-W - write file
  427.  
  428.    Use this command to save all incoming characters to a file either to
  429.    remember what you were doing or to transfer files. The transfer may
  430.    be interrupted with the Alt-W.
  431.  
  432.  
  433.  
  434. => Alt-R - read file
  435.  
  436.    The file is transfered to the mainframe as it is, especially CR and
  437.    LF at end of line are sent. The transfer can be interrupted with
  438.    Alt-R.
  439.  
  440.  
  441.  
  442. => Control + Print Screen - print incoming characters
  443.  
  444.    All incoming characters are transfered to the printer. If a page
  445.    length is defined with Alt-Y, the printed pages will be numbered.
  446.    Pressing Control+Print Screen twice produces a form feed and page
  447.    numbering begins anew.
  448.  
  449.  
  450.  
  451.           *=================================*
  452.           |  Transfer Files in Kermit Mode  |
  453.           *=================================*
  454.  
  455. You must start kermit on the mainframe and enter "server", "receive" or
  456. "send", then press F9 to enter local kermit mode to start the file
  457. transfer.
  458.  
  459.  
  460.  
  461. => I(nit parameter) P(acket)
  462.  
  463.    These parameters determine how the data packet will be build and
  464.    normally need not be altered.
  465.  
  466.    packet length - length of a packet including packet number, type and
  467.     checksum. (default 94)
  468.  
  469.    padding character - characters sent before any packets to synchronize
  470.     transmission. (normally not necessary)
  471.  
  472.    quote control character - control character are quoted with this
  473.     character, Control-A is coded as '#A'. (default #)
  474.  
  475.    quote 8-bit character - characters whose 8th bit is set are quoted
  476.     with this character, hex A8 is coded as &H. (default &)
  477.  
  478.    repeat character - 8 characters 'HHHHHHHH' is shortened to 3
  479.     characters ~'H, 8 is coded as '. (default ~)
  480.  
  481.    type of checksum - CONEX supports 3 kinds of checksums, which consist
  482.     of 1, 2 or 3 bytes. (default 1)
  483.  
  484.    packet terminator - Every packet is terminated with this character.
  485.     (default = CR)
  486.  
  487.  
  488.  
  489.  
  490. => I(nit parameter) C(ommon)
  491.  
  492.    ASCII/binary file type - Binary files (files with characters over 127)
  493.       should be transfered with file type binary. The mainframe must be
  494.       set to this mode, too, normally with "set file_type binary".
  495.       Sometimes binary files can also be transfered with "parity none",
  496.       which is quicker.
  497.  
  498.    Repeating - repeated characters are compressed in a packet. (see
  499.       repeat character)
  500.  
  501.    Max number of retries - number of trials to resend a packet, which
  502.       has been refused by the mainframe.
  503.  
  504.    Time out in secs - If the PC did not answer for the specified time
  505.       the last packet is resend.
  506.  
  507.  
  508.  
  509. => S(end) - send files
  510.  
  511.    Multiple files seperated with blanks and "wild cards" can be entered.
  512.    If you want to select from a file list, press "page up/down" and
  513.    select with "ins" or "del".
  514.  
  515.  
  516.  
  517. => R(eceive) - receive files
  518.  
  519.    This command is used to get files from the mainframe. If this file
  520.    already exists on the PC the old one is renamed to ".bak".
  521.  
  522.    If the sender has already been told the name of the file ("send
  523.    foo"), simply press return when asked for "receive file". It is also
  524.    possible to enter "wild cards" which are understood by kermit at the
  525.    mainframe.
  526.  
  527.  
  528.  
  529. => T(race) - handles output of packets to screen
  530.  
  531.    trace errors - display all error packets on screen
  532.    trace all    - display all packets on screen
  533.  
  534.  
  535.  
  536. => F(inish) - terminate server on the mainframe
  537.  
  538.    Kermit on the mainframe is terminated and CONEX changes back to
  539.    normal mode.
  540.  
  541.  
  542.  
  543. => L(ogout) - terminate session on the mainframe
  544.  
  545.    Like "finish" but terminate session, too.
  546.  
  547.  
  548.  
  549. => cursor keys
  550.  
  551.    Scroll the messages at the bottom of the screen.
  552.  
  553.  
  554.  
  555. => C(hange directory) - change directory on the mainframe
  556.  
  557.    This and the following commands only work, if kermit on the
  558.    mainframe supports generic commands.
  559.  
  560.  
  561.  
  562. => D(irectory) - list directory on the mainframe
  563.  
  564.  
  565.  
  566. => E(rase) - erases file on the mainframe
  567.  
  568.  
  569.  
  570. => N(ame) - rename file on the mainframe
  571.  
  572.  
  573.  
  574. => U(sage) - query disk usage
  575.  
  576.  
  577.  
  578. => M(essage) - send a short message
  579.  
  580.  
  581.  
  582. => Q(uery server) - query server status
  583.  
  584.  
  585.  
  586. => During a file transfer the following commands can be used.
  587.  
  588.    ESC - interrupts transmission completely. This should be the last
  589.      resort if nothing else works.
  590.  
  591.    ^T  - change trace mode (= "T" in main menu)
  592.  
  593.    ^F  - interrupts the transfer of current file, the transmission
  594.      proceeds with the next file.
  595.  
  596.    ^G  - interrupts file transfer completely.
  597.  
  598.    @   - enter debug mode: trace is set on; packets are only transmitted
  599.      if a key is pressed
  600.  
  601.    CR  - resend last packet, if transmission stopped
  602.  
  603.  
  604.              *====================*
  605.              |  error characters  |
  606.              *====================*
  607.  
  608.  
  609. Some characters, which are output to screen, have special meanings:
  610.  
  611. Blinking character  - Parity or Framing error: A bad character was received.
  612.               Alter bits/parity, if all characters are blinking.
  613.  
  614. rubout (dec 178)    - Overrun error at COM port. Too many characters have
  615.               been received at the port.
  616.  
  617. arrow up (dec 24)   - Sender time out: Characters could not be sent out.
  618.               In a network environment the connection is
  619.               interrupted.
  620.  
  621. arrow down (dec 25) - Receiver time out: Characters could not be received
  622.               from remote host. The connection is interrupted.
  623.  
  624.  
  625.  
  626.                  *============*
  627.                  |    Problems  |
  628.                  *============*
  629.  
  630. 1. Interrupt numbers >7 have not been tested.
  631. 2. Characters in Tektronix mode are not transmitted to HPGL file.
  632.  
  633.  
  634.                *===============*
  635.                |  Past history |
  636.                *===============*
  637.  
  638. 6.0   1st Public Domain Version in comp.binaries.ibm.pc
  639.  
  640. 6.1   default COM3/4 Interrupt = 4 and 3
  641.       COM3/4 Interrupt + IO address configurable
  642.       up to 4 LAT sessions
  643.       ESC FF, ESC SUB, ESC ENQ automatically switch into graphic mode (Alt-G)
  644.       support extended keyboard (esp. F11, F12)
  645.       rotate interrupts configurable in conex.ini
  646.       format of CONEX.INI changed!!!
  647.       dial sequences are saved in CONEX.INI
  648.       start initial macro at 1st opening of a session (Alt-K, ■IN#)
  649.       characters from port can be remapped (Alt-M, character set: user)
  650.       conex can be patched (Alt-S, file name: conex.exe)
  651.       support B&W TCP/IP (Alt-P)
  652.       ESC stops macros only in normal or graphics mode
  653.       alphabetically sorted output in directory listing
  654.       alphabetically sorted output of macros in help screen
  655.       multinational supplement character set implemented
  656.       ESC ENQ supported in graphics mode
  657.       hercules graphic screen increased to 720 X 360 pixels
  658.  
  659.  
  660.                *================*
  661.                |  Future plans  |
  662.                *================*
  663.  
  664.     - more rows, columns on EGA/VGA card
  665.     - FTP file transfer
  666.     - direct access to packet drivers
  667.     - emulate tektronix 41XX
  668.       (I am looking for a description!! Send me a Mail.)
  669.     - support kermit larger packet size
  670.     - support other file transfer protocols
  671.  
  672.  
  673.  
  674.                   *==========*
  675.                   |  Author  |
  676.                   *==========*
  677.  
  678.     Erhard Hilbig
  679.     Hochschulrechenzentrum
  680.     Universitaet-Gesamthochschule Paderborn
  681.     Postfach 1621
  682.     W-4790 Paderborn (Germany)
  683.  
  684.     e-mail: zahilb@pbhrzt.uni-paderborn.de
  685.     phone: 05251/60-2433  room: N2-316
  686.  
  687.  
  688.  
  689.     This program has been developed by me and can be distributed
  690.     freely. There is also a more detailed documentation in german
  691.     available, which is written in LaTeX. You can have it as LaTeX
  692.     DVI file or as a print file, which must be output using
  693.             "copy conex.lst prn/b".
  694.  
  695.     If you find any bugs or have an idea how to improve the program,
  696.     send me a message!
  697.